package com.cci.kangdao.dao.model;

import com.cci.kangdao.model.DiagnoseConclusionInfo;
import com.cci.kangdao.model.WorkOrderInfo;
import org.apache.ibatis.annotations.Param;
import org.mybatis.spring.annotation.MapperScan;

import java.util.Map;

/**
 * 诊断结论类dao
 *
 */
@MapperScan
public interface DiagnoseConclusionTDao {

	int insert(Map<String, Object> map);

	WorkOrderInfo getDiagnoseByOrderId(@Param("orderId")Long orderId);

	DiagnoseConclusionInfo getConclusionByOrderId(@Param("orderId")Long orderId);

	int deleteByOrderId(@Param("orderId")Long orderId, @Param("userId")Long userId, @Param("time")String time);
}
